package cn.edu.zjut.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;
import cn.edu.zjut.entity.RoleEntity;

/**
 * @description:
 * @author:ZhouDan
 * @date: 2020/5/24
 * @version: 1.0
 */
@Repository
public interface RoleRepository  extends JpaRepository<RoleEntity,Long> {
    RoleEntity findRoleEntityByRoleDesc(String roleDesc);
}
